
import java.util.*;

import com.alibaba.fastjson.JSONObject;
import com.metaverse.backend.douyin.PlayerDataDTO;
import com.metaverse.backend.enums.GiftTypeEnum;

public class AA {

//
//    public static void main(String[] args) {
//        String domain = "www.louiscadens.com";
//        try {
//            InetAddress inetAddress = InetAddress.getByName(domain);
//            System.out.println("The IP address of " + domain + " is: " + inetAddress.getHostAddress());
//        } catch (UnknownHostException e) {
//            System.out.println("Error resolving domain: " + e.getMessage());
//        }
//    }

    public static void main(String[] args) {
        StringBuilder str = new StringBuilder("七夕,");
     for (int i=500;i<1000;i++){
         str.append("七夕").append(i).append(",");
     }
     System.out.println(str.substring(0,str.length()-1));
        List<PlayerDataDTO> list11= new ArrayList<>();
        Map<String,List<Long>> sec_gift_id =new HashMap<>();
        List<Long> list =new LinkedList<>();
        list.add(System.currentTimeMillis()+10*1000);
        list.add(System.currentTimeMillis()+20*1000);
        list.add(System.currentTimeMillis()+30*1000);
        sec_gift_id.put(GiftTypeEnum.TWO.name(), list);

        List<Long> list1 =new LinkedList<>();
        list1.add(System.currentTimeMillis()+10*1000);
        sec_gift_id.put(GiftTypeEnum.ONE.name(), list1);

        PlayerDataDTO playerDataDTO = new PlayerDataDTO();
        playerDataDTO.setNickname("術䯶欁㯗");
        playerDataDTO.setSec_openid("yeyuHTGUkPg9d9il5f");
        playerDataDTO.setAvatar_url("https://p26.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_fedb0096ebf2428d9105ef1ccdce0c26.jpeg?from=3067671334");
        list11.add(playerDataDTO);
        System.out.println(JSONObject.toJSON(list11));
    }
}

